<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<%@ taglib uri="/tag" prefix="tag"%>
<tag:customerLogonCheck />

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>用户个人中心-充值</title>
<link href="../style/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="../js/jquery-1.3.2.js"></script>

<script type="text/javascript">
	/******* 充值  *******/
	function prestore(){
		var amount_money = document.getElementById("amount_money").value;

		if (!isNumber(amount_money)) {

			alert("充值金额必须为数字。");
			return false;
		}

		var checkflag = false;
		$($("input[name='paymentid']:checked")).each(function() {
			checkflag = true;
		});

		if(!checkflag){
			alert("请选择网上银行。");
			return false;
		}

		$("#prestoreForm").submit();
	}
</script>

<style type="text/css">
#main {margin: 0 auto;width: 960px;padding-bottom: 20px;margin-top: 5px;}
.A12 {font-family: "宋体";font-size: 12px;line-height: 5px;color: #000000;padding: 10px 12px 10px 17px;}
.A14 {font-family: "宋体";font-size: 14px;line-height: 10px;color: #000000;padding:10px 12px 10px 17px;}
.nw12c {font-family: "宋体";font-size: 12px;line-height: 25px;color: #000000;padding: 5px 5px 5px 7px;}
.STYLE3 {font-family: "宋体"; font-size: 14px;line-height: 10px; font-weight: bold; color: #000000; padding: 12px 12px 12px 20px; }
.STYLE4 {font-size: 14px;  line-height: 10px;color: #000000; padding: 12px 12px 12px 20px; font-family: "宋体";}
.STYLE5 {color: #666666;font-size: 12px;line-height: 25px;}
.STYLE6 {font-family: "宋体"; font-size: 14px; line-height: 10px; font-weight: bold; color: #000000; padding: 8px 5px 10px 5px; }
</style>
</head>

<body>

	<%@include file="/commons/head.jsp"%>
<div id="main">

	<%@include file="/user/customer_menu.jsp"%>

	<div style="margin-top: 10px; background: #ffffff; padding-top: 20px; padding-bottom: 20px; border: 1px solid #ccc;">
		<form action="${ctx}/customer/paywidget.do?action=prestore" id="prestoreForm" name="prestoreForm" method="post">

				<table width="896" border="0" cellspacing="0" cellpadding="0" align="center">
					<tr>
						<td colspan="3" class="A14">
						<div align="center">金额: <label> <input name="amount_money" type="text" size="10" id="amount_money" /> </label> 元</div>
						</td>
					</tr>
					<tr>
						<td colspan="3" class="STYLE3">请选择交纳方式</td>
					</tr>
					<tr>
						<td width="200" class="STYLE4">方式一：网上银行</td>
						<td width="344" class="A14">方式二：转账或汇款</td>
						<td width="264" class="A14">&nbsp;</td>
					</tr>
					<tr>
						<td valign="top" class="STYLE4">
							 <input type="radio" name="paymentid" value="1">
							<img src="../images/zf/cft.gif" width="130" height="52" align="absmiddle"/>
						</td>
						<td class="A14"><img src="../images/zf/yhxx.jpg" width="314" height="106" /></td>
						<td class="A14">&nbsp;</td>
					</tr>
					<tr>
						<td>&nbsp;</td>
						<td style="padding-top: 15px;padding-left: 20px;">
							<p>温馨提示</p>
							<p>（1）转账时请注明“保证金”字样；</p>
							<p>（2）完成转账后请致电客服复核。</p>
						</td>
						<td>&nbsp;</td>
					</tr>
					<tr>
						<td valign="top" class="STYLE4">&nbsp;</td>
						<td class="A14">&nbsp;</td>
						<td class="A12">客服咨询电话：0755-86292234</td>
					</tr>
				</table>

				<table width="896" height="281" border="0" cellspacing="0">
					<tr>
						<td height="33" class="A14">&nbsp;</td>
						<td width="815" class="STYLE6">保证金用途与竞拍级别说明</td>
						<td class="A14">&nbsp;</td>
					</tr>
					<tr>
						<td width="43">&nbsp;</td>
						<td class="nw12c">1、保证金：为保障艺术品提供者的权益，参加竞拍的会员需交纳一定数额保证金，方可参与较大金额拍品的竞拍。如竞拍会员申请注销账户，<br />
						保证金将全款退还申请人。<br />
						2、会员级别与竞拍等级<br />
						E级：未交纳保证金，可竞拍500元以内拍品（仅限1件）；<br />
						D级：交纳￥500元保证金，可竞拍2500元以内拍品；<br />
						C级：交纳￥1000元保证金，可竞拍5000元以内拍品；<br />
						B级：交纳￥2000元保证金，可竞拍10000元以内拍品；<br />
						A级：交纳￥5000元保证金，可竞拍25000元以内拍品；<br />
						特权级：可竞拍所有级别拍品，请致电0755-86292234客服电话，专门登记申请；</td>
						<td width="32">&nbsp;</td>
					</tr>
				</table>
       </form>
       
       <div style="text-align: center; margin-top: 20px">
		<input type="button" value="充值" style="padding: 5px 8px;" onclick="prestore();" />
	   </div>
	
	</div>
</div>


	<%@ include file="/commons/foot.jsp" %>

</body>

</html>